<?php

include APPPATH.'controllers/gnc_mng.php';

class RMM extends Gnc_mng {

	function index()
	{
		
		$unit_by_groups = array("Pengelolaan Master" => array("rmm/i_mhs"=> "Data Mahasiswa"),
								 "Riwayat Medis Sebelum Pendidikan" =>  array("rmm/riwayat_mhs"=> "Riwayat Mahasiswa",
								"rmm/riwayat_klg"=> "Riwayat Keluarga"),
			                    "Riwayat Medis Selama Pendidikan" => array("rmm/rekam_medis_mhs"=> "Riwayat Mahasiswa")
								);
		
		$data = array(
			'application' => $prefix,
			'application_title' => $this->common->get_application_description($prefix),
			'page' => 'Main',
			'navigation' => $this->load->view('rmm/nav/general', '', TRUE),
			'content' => $this->load->view('rmm/viewer/main', array('unit_by_groups' => $unit_by_groups), true),
		);	// data yang akan dipassing ke view
		$this->load->view('layout/default', $data);	
		
	}
}